import statistics

ts = []
for line in open('fbresult1'):
    if 'total' in line:
        continue
    arr = line.split(' ')
    ts.append(int(arr[1]))

print(max(ts))
print(min(ts))
print(statistics.mean(ts))
print(statistics.quantiles(ts, n=10)[8])
